package com.kupurui.asteacher.adapter;

import android.content.Context;

import com.android.frame.adapter.CommonAdapter;
import com.android.frame.adapter.ViewHolder;
import com.kupurui.asteacher.R;
import com.kupurui.asteacher.bean.NoticeMessageInfo;

import java.util.List;

/**
 * Created by Administrator on 2017/7/26.
 */

public class NoticeMessageAdapter extends CommonAdapter<NoticeMessageInfo.MessageBean> {


    public NoticeMessageAdapter(Context context, List<NoticeMessageInfo.MessageBean> mList, int itemLayoutId) {
        super(context, mList, itemLayoutId);
    }

    @Override
    public void convert(ViewHolder holder, NoticeMessageInfo.MessageBean item, int positon) {
        holder.setTextViewText(R.id.tv_time,item.getCreate_time());
        holder.setTextViewText(R.id.tv_content,item.getContent());
    }
}
